package com.nebula.upms.dao.mapper;

import com.nebula.upms.model.po.UpmsDepartmentPO;
import com.nebula.upms.model.po.UpmsDepartmentPOExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UpmsDepartmentPOMapper {
    long countByExample(UpmsDepartmentPOExample example);

    int deleteByExample(UpmsDepartmentPOExample example);

    int deleteByPrimaryKey(String departmentId);

    int insert(UpmsDepartmentPO record);

    int insertSelective(UpmsDepartmentPO record);

    List<UpmsDepartmentPO> selectByExample(UpmsDepartmentPOExample example);

    UpmsDepartmentPO selectByPrimaryKey(String departmentId);

    int updateByExampleSelective(@Param("record") UpmsDepartmentPO record, @Param("example") UpmsDepartmentPOExample example);

    int updateByExample(@Param("record") UpmsDepartmentPO record, @Param("example") UpmsDepartmentPOExample example);

    int updateByPrimaryKeySelective(UpmsDepartmentPO record);

    int updateByPrimaryKey(UpmsDepartmentPO record);
}